package com.itheima.service;


import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.User;

public interface UserService {

    User login(String username);

    void add(User user, Integer[] roleIds);

    void del(Integer id);

    void update(User user, Integer[] roleIds);

    User find(Integer id);

    PageResult findPage(QueryPageBean queryPageBean);
}
